<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">

<html>

<%
	response.setCharacterEncoding("UTF-8");
	response.setHeader("Cache-Control", "no-cache");
	response.setHeader("Pragma", "no-cache");
	response.setDateHeader("Expires", -1);
%>

<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib uri="http://www.springframework.org/tags" prefix="s"%>
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>

<%@page contentType="text/html"%>
<%@page pageEncoding="UTF-8"%>





<head>
<meta http-equiv="Pragma" content="no-cache">
	<meta http-equiv="expires" content="0">
		<title><s:message code="label.storeadministration"
				text="Store administration" /></title>




		<style type=text/css>
#logon {
	margin: 0px auto;
	width: 550px
}

#login-box {
	width: 333px;
	height: 352px;
	padding: 58px 76px 0 76px;
	color: #ebebeb;
	font: 12px Arial, Helvetica, sans-serif;
	background:
		url('<c:url value="/resources/img/admin/login-box-backg.png" />')
		no-repeat left top;
}

#login-box h2 {
	padding: 0;
	margin: 0;
	color: #ebebeb;
	font: bold 36px "Calibri", Arial;
	border-bottom: 2px solid;
	padding-bottom: 0px;
}

#login-box {
	margin-left: 30px;
}

#controls {
	margin-left: -50px;
	margin-top: 30px;
}
</style>




		<link
			href="<c:url value="/resources/css/bootstrap/css/sm-bootstrap.css" />"
			rel="stylesheet" />
		<link
			href="<c:url value="/resources/css/sm-bootstrap-responsive.css" />"
			rel="stylesheet" />
		<link href="<c:url value="/resources/css/shopizer.css" />"
			rel="stylesheet" />


		<style type=text/css>
.sm label {
	color: #EBEBEB;
	font-size: 16px;
}

.sm a {
	color: #EBEBEB;
	font-size: 16px;
}
</style>
		<script src="<c:url value="/resources/js/bootstrap/jquery.js" />"></script>
		<script type="text/javascript"
			src="<c:url value="/resources/js/jquery-cookie.js"/>"></script>
		<script
			src="<c:url value="/resources/js/bootstrap/bootstrap-modal.js" />"></script>
		<script
			SRC="<c:url value="/resources/smart-client/system/modules/ISC_Core.js" />"></script>
		<script
			SRC="<c:url value="/resources/smart-client/system/modules/ISC_Foundation.js" />"></script>
		<script
			SRC="<c:url value="/resources/smart-client/system/modules/ISC_Containers.js" />"></script>
		<script
			SRC="<c:url value="/resources/smart-client/system/modules/ISC_Grids.js" />"></script>
		<script
			SRC="<c:url value="/resources/smart-client/system/modules/ISC_DataBinding.js" />"></script>

		<script language="javascript">
			$(document).ready(function() {
				$("#formSubmitButton").click(function() {
					$("#licenseForm").submit();
				});

			});
		</script>
</head>

<body>

	<div id="tabbable" class="sm">

		<br /> <br />

		<div id=logon>

			<div id="login-box">

				<div class="row">
					<div style="float: left; width: 180px;">
						<p class="lead">
							<s:message code="License" text="License" />
						</p>
					</div>
					<div style="float: right;">
						<img alt="go to www.shopizer.com"
							src="<c:url value="/resources/img/shopizer_small.png" />">
					</div>
				</div>

				<div class="row">
					<div id="controls">
						<c:url var="saveLicense" value="/license/save.html" />
						<form method="get" id="licenseForm" class="form-horizontal"
							action="${saveLicense}">
							<div class="control-group">
								<label class="control-label" for="inputUser"> <s:message
										code="label.username" text="Key" />
								</label>
								<div class="controls">
									<label id="j_key" class="control-label"> ${uniqueKey}</label>
								</div>
							</div>
							<div class="control-group">
								<label class="control-label" for="inputPassword"> <s:message
										code="label.password" text="License" />
								</label>

								<div class="controls">
									<input type="text" id="j_license" name="j_license"
										style="width: 243px !important;" placeholder="License">
								</div>
							</div>
							<div class="control-group">
								<div class="controls">
									<a class="btn" id="formSubmitButton"> <s:message
											code="Save" text="Save" />
									</a>
								</div>
							</div>
						</form>
					</div>
				</div>
			</div>
		</div>
	</div>
</body>
</html>